package com.ydl.partitionscheduler.builder;

import com.ydl.partitionscheduler.config.TablePartitionProperties;
import com.ydl.partitionscheduler.model.PartitionInfo;

public interface PartitionStatementBuilder {
    String buildCreateStatement(TablePartitionProperties.TablePartitionConfig config, PartitionInfo partition);

    String buildExistsStatement(String mainTable, String partitionName);

    boolean supports(String databaseProductName);
}
